//
//  Entity.m
//  NewApp
//
//  Created by  on 12-6-29.
//  Copyright (c) 2012年 __MyCompanyName__. All rights reserved.
//

#import "Entity.h"
#import "Constants.h"

@implementation Entity
@synthesize sID,title;

- (id) initWithDictionary:(NSDictionary *) dictionary {
    if (self = [super init]) {
        self.sID = [dictionary objectForKey:kID];
        self.title = [dictionary objectForKey:kTitle];
    }
    
    return self;
}

- (void) dealloc {
    [sID release];
    [title release];
    [super dealloc];
}

@end
